package com.macrounion.atv.service.entity;

import com.macrounion.base.service.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/**
 * 基础信息settings
 * @author Administrator 2020-11-05
 */
@ApiModel(value = "基础信息", description = "基础信息")
public class Settings extends BaseEntity implements Serializable {
    /**
     * 配置名称
     */
    @ApiModelProperty(value = "配置名称")
    private String name;

    /**
     * 配置值
     */
    @ApiModelProperty(value = "配置值")
    private String values;

    /**
     * settings
     */
    private static final long serialVersionUID = 1L;

    /**
     * 配置名称
     * @return 配置名称
     */
    public String getName() {
        return name;
    }

    /**
     *
     * @mbg.generated
     */
    public Settings withName(String name) {
        this.setName(name);
        return this;
    }

    /**
     * 配置名称
     * @param name 配置名称
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * 配置值
     * @return 配置值
     */
    public String getValues() {
        return values;
    }

    /**
     *
     * @mbg.generated
     */
    public Settings withValues(String values) {
        this.setValues(values);
        return this;
    }

    /**
     * 配置值
     * @param values 配置值
     */
    public void setValues(String values) {
        this.values = values == null ? null : values.trim();
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", name=").append(name);
        sb.append(", values=").append(values);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}